package awake.stu.dbhb;

import javax.swing.*;
import java.awt.*;

public class DBFrame extends JFrame {

    private static final int DEFAULT_WIDTH = 1050;
    private static final int DEFAULT_HEIGHT = 550;

    private ViewPanel panel;

    public DBFrame() {
        setTitle("awake.stu.dbhb.DBFrame");

        panel = new ViewPanel();
        panel.setPreferredSize(new Dimension(DEFAULT_WIDTH, DEFAULT_HEIGHT));
        add(panel, BorderLayout.CENTER);
        panel.setVisible(true);
        pack();
    }
}
